#ifndef PROTO_H
#define PROTO_H

#define RGS_IP      "10.10.10.9"
#define RGS_PORT    2928
#define LOG_PORT    2929
#define CNTSIZE     32
#define PWDSIZE     256

enum
{
    REG_OK,
    REG_EXISTS,
    REG_ERROR
};

typedef struct
{
    char cntbuf[CNTSIZE];
    char pwdbuf[PWDSIZE];
    int8_t  flag;
}rgs_t;




#endif // PROTO_H
